package com.wsl.pojo;

import java.math.BigDecimal;

/**
 * @Author:WangShuliang
 * @Description:
 * @Date:Created in 8:21 2018/1/10
 * @Modified by:
 */
public class ResultPojo {
    //表名
    private String  tableName;
    //字段名
    private String columnName;
    //原字段类型
    private String firstDataType;
    //现在字段类型
    private String secondDataType;
    //原来字段长度
    private BigDecimal firstDataLength;
    //先在字段长度
    private BigDecimal secondDataLength;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getFirstDataType() {
        return firstDataType;
    }

    public void setFirstDataType(String firstDataType) {
        this.firstDataType = firstDataType;
    }

    public String getSecondDataType() {
        return secondDataType;
    }

    public void setSecondDataType(String secondDataType) {
        this.secondDataType = secondDataType;
    }

    public BigDecimal getFirstDataLength() {
        return firstDataLength;
    }

    public void setFirstDataLength(BigDecimal firstDataLength) {
        this.firstDataLength = firstDataLength;
    }

    public BigDecimal getSecondDataLength() {
        return secondDataLength;
    }

    public void setSecondDataLength(BigDecimal secondDataLength) {
        this.secondDataLength = secondDataLength;
    }

    public ResultPojo(String tableName, String columnName, String firstDataType, String secondDataType, BigDecimal firstDataLength, BigDecimal secondDataLength) {
        this.tableName = tableName;
        this.columnName = columnName;
        this.firstDataType = firstDataType;
        this.secondDataType = secondDataType;
        this.firstDataLength = firstDataLength;
        this.secondDataLength = secondDataLength;
    }

    public ResultPojo() {
    }

    @Override
    public String toString() {
        return "ResultPojo{" +
                "tableName='" + tableName + '\'' +
                ", columnName='" + columnName + '\'' +
                ", firstDataType='" + firstDataType + '\'' +
                ", secondDataType='" + secondDataType + '\'' +
                ", firstDataLength=" + firstDataLength +
                ", secondDataLength=" + secondDataLength +
                '}';
    }
}